package com.fupan;

import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@SpringBootApplication
@Controller
@EnableRabbit
public class Main {

    public static void main(String[] args) {
        SpringApplication.run(Main.class);
    }

    @RequestMapping("/")
    public String root(){
        return "index";
    }
}
